﻿@model Wicresoft.UnifyShow.Portal.ViewModels.DeviceAndTypes
@using (Html.BeginForm("", "", FormMethod.Post, new Dictionary<string, object>() { { "id", "deviceAddForm" } }))
{
    <table>
        <tbody>
            <tr>
                <td width="120">
                    设备的特性值：
                </td>
                <td width="200">
                    @Html.EditorFor(model => model.Device.Identify)
                </td>
            </tr>
            <tr>
                <td width="120">
                    分类：
                </td>
                <td width="200">
                    <select name="Device.Type" id="Device_Type">
                        @foreach (string item in Model.Types)
                        {
                            <option value="@item">@item</option>
                        }
                    </select>
                </td>
            </tr>
            <tr>
                <td width="120">
                    项目：
                </td>
                <td width="200">
                    @Html.EditorFor(model => model.Device.Object)
                </td>
            </tr>
            <tr>
                <td width="120">
                    子项目：
                </td>
                <td width="200">
                    @Html.EditorFor(model => model.Device.SubObject)
                </td>
            </tr>
        </tbody>
    </table>

}